-- Simply put, if the victim was typing, then take one frag away from the attacker (essentially denying the kill)

local function PlayerDeathHook( vic, inflic, attac )
	if vic:IsTyping() then
		PrintMessage( HUD_PRINTTALK, attac:Name().." killed "..vic:Name().." while he was clearly typing. For shame! Kill count denied." )
		attac:SetFrags(attac:Frags()-1) -- Deny the kill
	end
end
hook.Add("PlayerDeath","CuntyServerDeath",PlayerDeathHook)